﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage/Index.master"
    CodeFile="ProductDetail.aspx.cs" Theme="Default" Inherits="webapp4U.UI.ItemDetail" %>
<%@ Import Namespace="webapp4U" %>
<%@ Register Assembly="webapp4U" TagPrefix="webapp4U" Namespace="webapp4U.UI" %>
<%@ MasterType VirtualPath="~/MasterPage/Index.master" %> 
<%@ Register src="~/Usercontrol/ShoppingCart.ascx" tagname="ShoppingCart" tagprefix="uc5" %>
<%@ Register Src="~/Usercontrol/Title.ascx" TagName="Title" TagPrefix="uc" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentDynamic" runat="server">

<uc:Title runat="server" ID="Title" />

   <asp:Panel runat="server" ID="PanelItem">
    <table width="100%" border="0" class="table_product">
        <tr>
             <td align="left" style="width:229px;" >
                <asp:Image runat="server" ID="ImageObject1" Width="229" Height="261" />               
            </td>
            <td align="left" valign="top"style="text-align: left !important">
               <table width="100%" cellpadding="4" cellspacing="4" class="table_product_detail margin_all" >
                    <tr>
                        <td align="left" valign="top" style="text-align: left !important">
                            <p>
                                <h2>
                                    <asp:Label runat="server" ID="lblProductName"></asp:Label>
                                </h2>
                                </p>
                                <hr />
                            
                            
                        </td>
                    </tr>
                    <tr>
                        <td align="left" valign="top" style="text-align: left !important">
                            <%=ResourceManager.GetString("Product_Code")%>:
                            <asp:Label runat="server" ID="lblProductCode" Font-Bold="true" ForeColor="#e93794"></asp:Label>
                        </td>
                    </tr>                                                  
                        <tr>
                        <td align="left" valign="top" style="text-align: left !important" class="margin_all">
                                                            
                            <asp:Label runat="server" ID="lblDesc" CssClass="NewsBody"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" valign="top" style="text-align: left !important">
                                <span class="product_price margin_bottom"> <%=ResourceManager.GetString("Product_Price")%>:
                            <asp:Label runat="server" ID="lblPrice"></asp:Label></span>
                                                           
                        </td>
                    </tr>
                    <tr>
                        <td class="margin_all" align="left" valign="top" style="text-align: left !important">
                                <asp:Panel runat="server" ID="PanelAddToCart">
                                <webapp4U:Button ID="btnProductOrder" Text="Đặt hàng" CssClass="bt_submit" ResourceName="Product_Order" runat="server" OnClick="btn_ProductOrder_Click" />
                                <webapp4U:Button ID="btnAddToCart" Text="Thêm vào giỏ hàng" ResourceName="Product_AddToCart" runat="server" CssClass="bt_submit" />

                                <input type="hidden" id="txtItemkey" value="" runat="server" />   
                                                                                             
                                <%--<asp:Image ID="testImage" runat="server" CssClass="img" />--%>                                                                                                         
                            </asp:Panel>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="center">
                <img src="<%=Globals.ImagesUrl()%>zoom.gif" align="absmiddle" />
                <input type="button" class="btZoomPhoto" value=" View Photo " onclick='window.open("<%=Globals.ApplicationPath%>Page/Products/ImageZoom.aspx?ImageUrl=<%=ImageName%>&Act=Items","khunghinh","width=550,height=550,menubar=no,scrollbars=yes")' />
            </td>
            <td class="margin_all" align="left" valign="top" style="text-align: left !important">
                <webapp4U:Button class="bt_submit" runat="server" ID="btnBackPage" 
                    Text="Quay về trang trước" ResourceName="BackPage" onclick="btnBackPage_Click" />
            </td>
        </tr>
        <tr height="1">
            <td colspan="2" style="padding-top: 10pt;" align="center" background="<%=Globals.ImagesUrl()%>pm_line.gif">
            </td>
        </tr>
                
    </table>
</asp:Panel>
</asp:Content>